adding tests for collections and fixing bug in collections Empty assertion