refs #8
added functional tests