moved directory tests
add response attributes handling