Added junit test with spring config