added a test for getTerms
renamed the js test