Add more tests, fix getFormat() for specific media types

+ fix README