Added spec tests for version variable