Added test for CWD