Add web tests

Test that project generation can work from a dart:html environment.