fixed profile unit test