Please fix this error. Please also make tests conditional on a compile-time option so that package builders wouldn't need to build tests.