fixes for testing Purchase controller