Added stack for nested _lock tags and added unit tests (Re #20)
Testing return value when setting a lock state with `.lock()`
Added unit tests for `_pendable` (Re #20)