Add timing tests for cos and tan.