migrate tests from C# to F#