created basic tests for post class