add test code for rtshell for issue #2

this solves issue #2