simple test code for shell