Some code that doesn't work.
Clean up the code.
Switch to java configuration from xml configuration. The tests are not working.