Added unit and functional testsuites