Tests added for all sorts of stuff. Enabled gcov generation.