fixed broken debug unit test; closes #1691