add test to SIN
formatted with js-beautify