Added directory tests and directory handling. Added a file for quick testing methods