addcontract test added
refactor tests