test api.get_data
add tests for angular