fixed missing shebangs
added test running