test the testproc
should write more tests for collection