using phpunit config file instead of custom script
use --prefer-source to avoid travis hitting the github download limit
adding some comments
Moving the from setter out of size() method