Server fixes and initial SampleDwarf.js test implementation