Added small test for validity