Added tests for code that fails on Linux