Add basic tests

Change-Id: I058cb2a91399fb7185f1b23aefe441892f235dcc