UI: Profile tests

http://mrccodereview.cloudapp.net/ui#review:id=1298