Javascript test runner with hierarchical setup