Add more testvectors to bitcomposer
Fix bug in bitcomposer

The test vectors do now all pass.