selftest: add check password script test