testing latching functionality