Adds functional test for docker