Added unit tests to class Position