Add dynamic behavior for tests files