Copied testing stuff

Not sure what in here is of use, but pull it apart.