Fixes #268

Fixes #268

Updated the getSiblings method to return the siblings and itself based
on the parameter passed. It will either pass itself with siblings or
just pass siblings. Added the test cases for getSiblings in the test
file.