Created tests and toggle functionality for private/public posts

Resolves #34 ... i think.