tmtests: refactored timesys.h, removed declarations