Added test for getNodesByProperty

Also, added a .gitignore file