moved validTin to a test