added unittest for yaml export