Moved test.c.
Fixed copyright errors
Renamed from old no longer used names and updated docs.