able to find out reference key. but not tested. the sql not printed out.
need to spend more time. Also, many classes for tested is created