Adding unit test from issue report to code (doesn't use the abstract test class so may not be desirable for permanent inclusion)