Added some more methods to quaternion and tests