Remove unnecessary testing function, modify checking for a value.

Remove leftovers from testing.
Modify checking so it can work with ClojureScript as well.