add test case to trait