Add specs for new format fallback

* update mock objects used in the tests
* added tests for mobile fallback in `set_mobile_format` method
* added .idea/ to the gitignore