Reorganize tests in a tests directory.

Signed-off-by: Martin Raspaud <martin.raspaud@smhi.se>
Add test coverage computation.

Signed-off-by: Martin Raspaud <martin.raspaud@smhi.se>