Beginning to write preliminary functional test