IDM-54 Add password policy verification
IDM-35 Refactor tests
IDM-35 Split and rename test