fix unicode tests
when home is passed as a scalar, convert it to object
set default exception message
better class loading