Adding validations to room model and spec files