@Autowired is added and test directory changed to test/java