fix scope for test libs