Added a couple of tests for complete branch coverage.