get api testing wrapped up