Password object tests.