Damn, I hate testing it like that. Should've wrote some tests.