add packages self-test