changed tests to fit #659 api test refactor