Improved build tests.