adds unit tests for sign in service