A test code for shared object in UNIX