Adding tests. Fixing password pattern.