issue-163 small mod to dashboard api and added a test that demonstrates how to process multiple promises in serial