add some simple tests, and hopefully make it so yaml_serialize can be imported without numpy (I don't have a machine without numpy so I haven't tested that