test Factory; Rules to set locale and dir in one method and keep them in static variables.
use Factory in other tests as well. remove unused locale and getInstance methods.
simplify Message's construction. only constructor.