updated build helper function in subscribe test suite