tests for confirmation
moving to a requirejs implementation