cleaned up SetTable and added tests