Final test file version

removed unused space and debugged all the errors.