Tests for issue #40
Test for issue #41
Test for issue #43
Tests for issue #44
Implementation and tests for issue #45