fixed up Linux build and added test harness