Fixed testingfunctions