testable gen server