[#29] added tests