add incubator for tests
add Lock class