This is a bit of a code-smell. Would prefer to not have code in place only for the purpose of testing.