Run tests on both net45 and k10 (Fix #42)

(Fixed braces.)