Adds first test.
Fixes defects when post is not found and we use global variables instead of local onces.
Changes readme format to markdown.