new test cases added
fixed a bug
Merge pull request #29 from janhui/dev-terminal_commands

new test cases added