Add tests for slash decoding