Clean up.

Summary: Removed unused code. Added code covarage.

Test Plan:
sbt clean test
sbt clean scoverage:test

Reviewers: michaeloa, stephenaj

Differential Revision: https://phab.met.no/D20