changed tests to in memory db and spring class config.