integration test for sin