Added some entityTests.js; cleaned up a few old ones