Added unit test for sample files