changed test from .txt to .json