tests for sigin function