More tests for more corner cases.