Make Unit Tests Nicer and fix bug in build.dart