Finished tests and wrapper for pbkdf2