add initial unit tests
fixed indenting
updated README with testing instructions
updated nxService resource