Added tests because they are so useful for testing libraries with simple samples