initial deadlock tests, put files in main package