fixed test on Linux