I believe this is more right

The entry point should be an absolute path. The skeletons array looks like this:

array('logical_name.php' => '/path/to/logical_name.php');

So, it's correct to actually look in the array values, not the array keys
Improving error message
Adding helper method to assert suite