Added a test for intermediate root persistence and removed RubyMine/IntelliJ IDEA config files