Move test source to another directory, tests executable and test source directory had same name, and for some reason ld on mac did no understand that
New proto files from riak and compiled with newer protobuf-c version