Cleaned up the tests on the SO function