Fixed transposition error generator + more tests