fixed test runner. Run with npm test