render 404 if no any stack used
refactor the tests to avoid explicit port