added driver test code and reflection