Add trait for tests