change test parameter type to Representation to ensure typesafety
Merge pull request #4 from kutila/master

change test parameter type to Representation to ensure typesafety