modified test and docs.