Adding samples to test code
Added code