FIXED compilation of backend test code
FIXED minor issues (but backend still not working)