Adding a test to get coverage of branches to 100%.