Add tests base structure
Add get adapter method, fix semaphore unlock
Add basic tests