Fixing and adding tests to the password store app