added a new test case

will need to add validation for this.
fixed a unit test issue