Prevent overwriting default encoding determined from InputStreamReader in ReaderResource constructor
Added unit tests for fixed overwriting encoding of ReaderResource