cmake: Add general tests

Change-Id: I1d8040326f2920b0512c756a20d28edb76370754
cmake: Add integration tests

Change-Id: I6a141710ded2fde54ae05000b962aafa4179a34c