passes all 7 tests