fixed Makefile for testing; redid some of fsUtils for easier debugging