Getters and setters for SAM

Added getters and setters for SAM
Rewrote tests to reflect this