add test for Key, failing in linux

The description here should probably read "should assign private key starting with 0 properly"