[#29]Added test.