pub fn test() -> String
Simple test function to verify WASM is working.
Returns a success message confirming the WASM module loaded correctly.
Returns a JSON error object if domain check fails.