feat(job offer): restrict job offers to a subset of the machines

Added unit tests and fixed bugs accordingly.