use exact version for npm modules
merge from master

Change-Id: I6997c37bc86da138ab65dff0ab220d532519dc5a
add test case

Change-Id: I5d7cda88ecec637e66d62b1d992795aa0d694ff2