Wrote code to pass first test and added two more tests