added unittest to yaml