Use parameters.size instead of arity
Fixed a spec failure on Job#build

* Increased the wait for build start sleep time
* Created a method to wait for the job to finish