adding test code for future reference