Made minor changes to SNAP, and made uart3_test compatible