Add profiles unit test