Castle version updates adn tests

Castle version updated to 3.2. Tests for Issue #49 added.