Add new PHPUnit tests for reflection classes