main: add basic functional test