added actual tests, fixed all() and length()