change test parameter type to Representation to ensure typesafety