Added sample class and test -- under Mono I cannot reproduce the issue