application unit tests for appDelegate