@ -486,7 +486,7 @@ class BTBTest extends PHPUnit_Framework_TestCase {
functiontest_formatting(){
$bibtex="@article{aKey61,title={An article Book},author = {Meyer, Heribert and {Advanced Air and Ground Research Team} and Foo Bar}}\n";
$bibtex="@article{aKey61,title={An article Book},author = {Meyer, Heribert and {Advanced Air and Ground Research Team} and Foo Bar}}\n@article{bKey61,title={An article Book},author = {Meyer, Heribert and Foo Bar}}\n";
$test_data=fopen('php://memory','x+');
fwrite($test_data,$bibtex);
fseek($test_data,0);
@ -531,7 +531,16 @@ class BTBTest extends PHPUnit_Framework_TestCase {
$this->assertEquals("Advanced Air and Ground Research Team",$authors[1]);
$this->assertEquals("Foo Bar",$authors[2]);
$this->assertEquals("Heribert Meyer, Advanced Air and Ground Research Team and Foo Bar",$entry->getFormattedAuthorsString());