[#28] added tests