Added keyfile
FIX: error code
return codes
ENH: updated build command adding testss