fix quantum numbers, implemented h_HF, fix tests