updated test in DocApiTest