add tests for xyz