Removing dependency to substance-application.

substance-test should be a light-weight, low-level module.
We must not introduce dependencies, as this all other modules (should)
depend on this.
Example test to check basic functionality.
Fix: remove unnecessary checks for $.