Separate unit and functional tests

Change-Id: Ibb0e86a6e9ffd59849ce2c2cef05fa6d931b9d64
Closes-Bug: #1592804
14 files changed