Added set default directory
Removed validatepw test