added github sample test
removed unnecessary code