ticket:4 for 42-test-xgalv00 Move context to its own file, refactor some tests