testing out Promises/A+ in Q