Additional unittests for profiles api.