MDL-46051 mod_lti: Fixing errors in unknown_service_api_called class

Also adding unit tests.