completed  garage class with tests