Got context to work; wrote action tests for existing functionality