fixes for declared api tests
2 files changed