Deleted function from dock and added separated test.