Updated to force an application context before running tests