Fixed imports to not be relative and added a unittest for the BoardFactory.