Test added

This pull request includes an added test to the original Class.