add tests for foundation plugin