Prints error message if a password file does not exist
Added few very basic unit tests.