springBean had name requirement which didnt match with test