Added abstract Unit tests for testing the TB queries