updated tests sequence and moved to done_testing()