diff --git a/tests/test_platform.py b/tests/test_platform.py
index 05321fb43bf9578fd1e59714d118f335bb6f1640..9fbb004cb06c919dc0c629f7dd1952d776d04d28 100644
--- a/tests/test_platform.py
+++ b/tests/test_platform.py
@@ -212,3 +212,13 @@ def test_detect_ssh():
         p = fslplatform.Platform()
         assert not p.inSSHSession
         assert not p.inVNCSession
+
+def test_fslwsl():
+
+     with mock.patch.dict('os.environ', **{ 'FSLWSL' : '1'}):
+        p = fslplatform.Platform()
+        assert p.fslwsl
+
+     with mock.patch.dict('os.environ', **{ 'FSLWSL' : '0'}):
+        p = fslplatform.Platform()
+        assert not p.fslwsl
diff --git a/tests/test_run.py b/tests/test_run.py
index 363d4489ec30d25799e152f23e96becf12f06ab9..39df3603c0fbdfc45cddbd2189c51853ed1b3fed 100644
--- a/tests/test_run.py
+++ b/tests/test_run.py
@@ -410,3 +410,7 @@ def test_run_logcmd():
 
         assert stdout                         == expstdout
         assert open('my_stdout', 'rt').read() == expcmd + expstdout
+
+def test_wslpath():
+    assert run.wslpath('c:\\Users\\Fishcake\\image.nii.gz') == '/mnt/c/Users/Fishcake/image.nii.gz'
+    assert run.wslpath('--input=x:\\transfers\\scratch\\image_2.nii') == '--input=/mnt/x/transfers/scratch/image_2.nii'