removing return value for exam, adding tests