added some tests, changed integration boundaries for ginzburg meanfield