Added PathMap tests and got it to compile

Fixed issues with mockito

Fixed language level