Fixed tests with missing 'require'