made tests work with java6
added PwdCommand
added one more test with args for PwdCommand
cleaned up Command interface and made BaseCommand implement it