Taxonomy model ID fix; taxonomy unit test
Term unit tests
Clean up double quotes in test; put tests in closures to avoid poluting window