1) Added tests for LocksImpl
2) Method naming fixes
3) Javadoc