add collection model and netMessage unit test