added thread and lock test