A test-driven approach to assessing JS skills