public function testSave()
{
$params = array('title' => 'My post with data attributes', 'content_type' => 'post', 'attribute_something' => 'hello there', 'attribute_something_else' => 'hello there 2', 'is_active' => 1);
$id = save_content($params);
$attributes = content_attributes($id);
$this->assertEquals(intval($id) > 0, true);
$this->assertEquals($attributes['something'], 'hello there');
$this->assertEquals($attributes['something_else'], 'hello there 2');
}