removing unnecessary code,adding test case and bumping up version