[PATCH v2 07/21] avocado: Convert build tests to avocado