Fixed hanging test bug
Removed debugging