Fix lib behaviour, test against python generated fixtures