changed some tests for profile validation