Fix GPSTIME issues, use ctest