Tests almost completed. Still needs to be fixed reset() and close() problem