All sorts of test and other random code