Reenabed unit tests
created unit test for openFile() function