Added system operation tests. Switched to a primarily use of boost::exception.

newline for {