fixed cd bug
Added test script and fixed readme