Basic unit tests for example