docs: formatting
phpunit: prefer assertSame over assertEquals
phpunit: remove workaround
phpunit: fix logic of test