This seems like test code.  Is there a better way to do this so we don't lose track and end up with a bug here?