build: tweak 'test' task deps
tests: hack to leverage source maps for test errors (uses Chrome developer console)
tests: add utility for easily mocking objects
fix: don't leak global var 'map'
add initial, basic tests for FileView