(Discussions) Added unit tests for validaton cases