got a test working and found a bug :-)