Nicer testcode, got rid of temphook, implemented pattern based setRow