More tests for edge cases of the script