make tests and contexts run in declaration order