test: fix out-of-tree builds

Some tests do #include  relative to the top-level, so add top_srcdir to the
include path as otherwise out-of-tree builds can't find the files.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>