Move PendingUpdate to commons so that is can be used from DatabaseHelper
Cleanup pending updates tables after each test run