Testing for the impact of financing constraints on corporate investment