removed level in skill tree check
added tests for topological sorting