Add the getAvailableFormats method to the SubtitleFormatManager class
Fix subtitle format names in test
Fix registerFormat method in manager
Implement tests for SubtitleFormatManager class