Add test to check unstage all in subdir

Closes #1.