TFN validation and more tests