replaced regex with split() in decode_sids()
refactored tests for decode_sids()