Added backend testing function