set up headless testing with PhantomJS
README
README, moved reference solution into a separate branch