added test
updated readme to show use of Promise