First pass at testing ics test files

Base class for sharing code and the first few ics test files.  Also
changed library search paths to be relative.