passes all tests except last three