Reworking unit tests

Data is now copied to build directory, path of which is set through a config.h.