fixed some tests that were failing against 1.8 and 1.9
added .idea files to .gitignore