Implemented the model class for income.
ref #9
Added the test method to the model class income.
ref #9