experimenting with testing promises