give some nicer usage examples and test them