Fix for .version, .encode and .validate tests;