Remove assert statement at end of if/elif chain

This gives 100% test coverage in the test file itself.