:) At least my understanding of you code is correct then.

Code looks good, clean and includes test. Great!