Added javadoc bodies
Added unit tests for the isRunning methods