add new to_test_yaml tool

call to_test_yaml to transfert the object and all its dangling
object in to the fixtures file
Merge pull request #73 from kmerz/lib

add to_test_yaml tool