JS backend: added ability to use inheritance in test classes. Run tests only on non-abstract class.