Create test procedure