added simple test based on pygco examples