added tests for failing dofile