reject parameters to PWD command

add corresponding tests

fix asylumfunk#16