Analysis of tests for two forms of specification error in linear regression analysis