add tests for conflict between parent class and trait