Moved api-paste notification tests to helper