fix failing test due to bad mock
part of #304 create a workspace marker file when build succeeded.
Missing unit tests for workspaces.py
Merge pull request #95 from tkruse/master

part of #304 create a workspace marker file when build succeeded.