More unit tests

Added tests with and without geometry param. A couple of negative
tests..