spec coverage for 'test' method