Tests for 6a and 6b done