testing the rule based translator