updated tests for refactored api