fixes failing test; changes build to create runnable jar