fixed broken tests and added new ones for the change password feature -- DO NOT DEPLOY PREVIOUS COMMIT
refactored open batch to use the new get_descendants from the Batch model itself