adding tests

Change-Id: I0aa4857230d1bdcd7c892495d4e3f8e2df7640b0