Unit testing tricks: Using unit tests to validate static code