test for single api declaration