getting tests to work with objects