Add .idea directory to gitignore
Fixed tests