unit tests for sao.c