basic unit tests for snackbar