add AfterStartup annotation for test class