Test for profile backups. Update travis.yaml

* Add more test for ProfileController
* Fix test for travis
* Fixes #1779