0.9: Matured the applicaiton.js test spec. Rearranged module setup to
allow for testing.