Simple locator tests

@mfalesni, it seemed useful to have test coverage on this, so I put together a test module for this trying to demonstrate your proposed use-cases. There are test errors, which I will detail inline.