Optional flag should be removed for test dependencies. They won't be included by subsequent projects anyway.