OK,
Even if your diet was sub par,\
You would still gain weight if your test was legit. IMO

In this case Id blame the test\

EDIT:
I just read your diet,
disregard what I said above,