Wrote password unit tests