testing with real example code