Complete tests on sandwich code