switch to java spring config
add test properties file