Compile test with -g + fix rpleth test.

Fix rpleth tests after change to #47.