added initial test code