Fix tests and change single event query to better format
Add new register number query using monger DSL
So we can get the related events.