fixed unit test on Debian