The field of NGC 6397 as a test for Galactic models