added basic test code