Controller tests working with minimal java config.