[Hackathon]Move tests for slice to test_slice.py (#55524)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/55524
Test Plan: Imported from OSS
Reviewed By: driazati
Differential Revision: D27686738
Pulled By: nikithamalgifb
fbshipit-source-id: f1896d739c3a3a7ece987f6eea4072477626231b