add unit tests for Server::setFlag()
add proper phpunit configuration