Accept Hash condition for URL parameters

Add support for Hash condition to test against URL parameters. Tests also included.