fixed bash unit test code to work with new filestructure