Rewrite lexical category ruby test to nodejs
This rewrites the test that asserts that the lexical category of the
Lexeme is changeable from ruby to nodejs. It is not an exact match,
as it adheres to the conventions of the other tests, e.g. verifies via
the API and not a reload.