added synthetic model/data function to test.py