Add basic tests to server API '/api/profile'
Add initial tests to client main view