Some more test cases and boundary checks.