added tests for congress api helpers