refactored SpecRunner and test/index.html - not there yet