Use custom assertion for more detail on failures.