Fixes a bug with double test cases

When a test case contains a double (with a dot) the name of the test case was stripped from the dot position.