Typos in test messages fixed
Added missing dependency (promises library)