added test for setUp method