Test cases submitted by Manual Mall, bugzilla 36025. I have added some checks to increase effectiveness of tests Submitted by: Manuel Mall <mm.at.arcus.com.au>