remove extraneous test command from sh
add which