Added sample usage in tests (bugged).