A unified framework for testing in the linear regression model under unknown order of fractional integration