Chai integration for trap testing.