Support spring test and junit