testing time conversion