Added shell test code.
Shell passed unit test.