added line junit tests
added junit tests for binary space tree