rm build before test, display results and test when fails