Fixed tests for 4.0 (not 4.1): test files for 4.0 were also being loaded for 4.1 and this caused the 4.1 profiles to fail.