test: add entrypoint and test case