refine tests and debug objects