added some sample test code