Added testsuite

This branch reenables tests and updates the testsuite to be compiled on Hydro and onwards.