Added new method get_data() for each end-point. Split tests into separate if statements, included error msgs.