[OLINGO-193] Added unit tests

Signed-off-by: Michael Bolz <michael.bolz@sap.com>
[OLINGO-193] Reuse as much code as possible between the spring and non-spring root locators.