Added more tests, and expanded test coverage to include javascript classes loaded from the command line