Restructued codes

Combined all current load/save methods into bs_string and removed bs_hex and
bs_base64. Combined all tests in a similar way.

Also removed the tests for assertions which looked as if they'd failed 'cause
of their output.