refactored mysql fixtures into proper factories

moved into factories submodule

modified tests