soviet space officials have said the long flights are designed to test whether people can withstand weightlessness and the other conditions for a possible manned mission to mars , a journey that would take three years .