When setting up unit test it is best if you know the test code actually works. :D
Fixed the encoding of the data that is being sent into the db.