added incoming_investments scope to company.rb, fixed typo in test