Fixed tests and default runtime set to IntelliJ IDEA 14

* tests dispose now created models