added build_paths test

Signed-off-by: James Molet <jmolet@redhat.com>

fixed errors and renamed build_simple to build_paths

Signed-off-by: James Molet <jmolet@redhat.com>