perhaps add a test to make sure it fails correctly when both ```summary``` and ```details``` are ```True```