beforeTestMethod was not properly declared