adds some method

adds tests for the "some" method
code formatted all tests