Removed LOTScriptException.
Bounding box in factory is final.
More unit tests and fixes in factoryimpl.