added check password tests