Removed unnecessary static context from test class