small (not valgrinded) unit test