Additional test

Added a test to make sure that the bound variables can be directly
tested (e.g. to check for null).