Fix setup of check test cases