Added comments for open methods and updated tests