add tests for custom commander trait