added an autotester
this commit is one entire error. ignore this