Tests now passing.
Encountered invalid authenticity token bug, changed then unchanged things and now everything working.