added posts. introduced minitest and factories