Fix warning with unset extension check
Added encryption test when moving file as non-owner