Add Submit function with testing

I added a Submit function following your conventions as best I could. I also added a testing file.
The name as the parameter, because that way you aren't required to have a Subreddit type, but if you have one you can still call it with Subreddit.Name.