Fixed import (from numpy to random)
Merge branch 'bug_3046' into bug_3078
Set production port to 8912
Adding mock to requirements