removed app from package in test files
moved json exception to throw in the method signature
fixed tests