Testing customized msgBox (error and confirm)