adding unit test coverage for Opportunity model.
minor changes.