update payment tests to treat string.empty and null as equivalent in browser