File decompress functionality corrected and test cases modified.

Signed-off-by: Sanjay Madnani <http://sanjaymadnani.wordpress.com/>