Headless qunit tests

Set up headless testing so we can run CI