changed tests to reflect new japi behavior