add tests for traits