added test object as second param to tests, issue #7