Updating configuration and adding spring mvc tests