Added Spring configuration to tests