validates against no json and unit tests associated