Add test stubs and make .once work