Added two unit tests

Added tests for case-insensitivity and input escaping.