bandit tests implemented
file not found exception added