Added tests for attributes. Also added ncrunch files to gitignore