add tests

Change-Id: Ibd3a53bd2bc0401d00e6d86088eb99b91b8d55b3