A Bayesian-motivated test for high-dimensional linear regression models with fixed design matrix