add .json test files
added test for links and simplification of code