TODO: more 17bit tests needed