since the hasContent is tested below it should probably not be tested here