corrected test @Autowire problem and masked failing tests