Pull up event handling
Add basic tests