Update controller.spec.js

test to match closeModal and init variables into scope