tests: Latte tests updated for new API