Add specs and test infrastructure