followed along till it broke; wrote some tests--app-test.js