Work on profile
Mostly profile related
Added view tests