Update build
Move tests and raise on .to(name, func) mistake