Ticket #1870: Adding three tests created by Noha