test for archieved