edited reflection and driver test code