Refactoring of TestFixture.cpp

Signed-off-by: mateusz <kontakt@mateuszmidor.com>