add lite API for testing
add example of lite API promise testing