VBID-3063 fix tests/build

- tests were failing because PartialMock calls the underlying Close
  method
- fix typo on method call
- add Makefile since I can never remember wtf I did last time to make
  anything do anything and become computers
- point build.xml test running shit to the correct directory