FCNTL_LOCK tests