pub fn test_functionality() -> Result<JsValue, JsError>
Utility function for testing WASM functionality