cleanups
constructing testing framework