cleaned up collection tests and started working on the observer api for collections