Increase code coverage in DVHandlers

This adds tests for three exceptions.