Two new unit tests

Added unit test for Rule::translateToUrlEncodedPath
Unit tests for all methods of Transformation except getSourceAsPath
This action is not necessary for the test to succeed. By including it here anyone who reads the tests will think that this is a requirement for the following action to succeed. To prevent such confusion it might be best to remove the statement