updated test/tests.dart to work from CLI