Test Docking

Fix some issues with translation and write a simple test for docking.