test with simple API