Add test function, fix business logic for string decoding. All working?