Added tests for sinpi etc.