fixed debug test