fixed testing of scripts without py suffix