add test to ensure unpausing functions properly