[#12] Added tests.