Fixed PASS command, added unit test