create shared behavior tests for type behavior