Add Cosine tests and fixup sin tests