Fixed tests to work in Linux