Fixed some testing and Program does not run