removed unused testfunctions