Moved some tests definitions from the header to the source file.