add test_reader test to cmake