Added some unit tests, removed old IntelliJ IDEA workspace files and updated Mockito to version 1.9.5 to allow proper mocking of methods with varargs (amongst other things).