Added validations for Account and Transaction models
spec for account model