deadcode, whitespace, and pw.publication module controller tests
fixed spelling typo and utilize jasmine spys