I don't like it. I'd rather link a dedicated library for tests (although that might skew the usefulness of the tests)