GH #298 - Adding test cases.