added tests for $app.modal.post