Test and implementation for SfpActor. Also other refactoring.