add a few tests

Signed-off-by: Victor Vieux <vieux@docker.com>