db prop
added lock tests