added test implementation of the CTRIE-based lock
added test implementation of the CTRIE-based lock