added tests and changed slowlist to a rb tree