Add test and libsm6.