add test for lib metro3layer