Add lab as test utility and set up basic tests