Random SfM tests with python